<template>
  <div class="vx-right-container">
    <div class="left">
      <slot name="left"></slot>
    </div>
    <div class="right">
      <slot name="right"></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'vx-right-container',
};
</script>

<style lang="scss">
.vx-right-container {
  position: relative;
  width: 950px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  .left,
  .right {
    display: inline-block;
  }
  .left {
    width: 320px;
    margin-right: 20px;
    & > div {
      height: 100%;
    }
  }
  .right {
    width: 630px;
    box-sizing: border-box;
    padding: 20px 60px 35px;
    border: 1px solid #e4e7ed;
    box-sizing: border-box;
    border-radius: 4px;
  }
  @media (max-width: 1400px) {
    .right {
      .border {
        padding: 20px 40px 30px;
      }
    }
  }
}
</style>
